package com.cls.business.service;

import com.cls.business.entity.ReviewDetail;

import com.cls.common.entity.QueryRequest;
import com.github.pagehelper.PageInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 专家评审结果详细表 Service接口
 *
 * @author wandering
 * @date 2020-11-18 11:59:01
 */
public interface IReviewDetailService extends IService<ReviewDetail> {
    /**
     * 查询（分页）
     *
     * @param request QueryRequest
     * @param reviewDetail reviewDetail
     * @return PageInfo<ReviewDetail>
     */
    PageInfo<ReviewDetail> findReviewDetails(QueryRequest request, ReviewDetail reviewDetail);

    /**
     * 查询（所有）
     *
     * @param reviewDetail reviewDetail
     * @return List<ReviewDetail>
     */
    List<ReviewDetail> findReviewDetails(ReviewDetail reviewDetail);
    List<ReviewDetail> findReviewDetailsByReviewId(Long ReviewId);

    /**
     * 新增
     *
     * @param reviewDetail reviewDetail
     */
    void createReviewDetail(ReviewDetail reviewDetail);

    /**
     * 修改
     *
     * @param reviewDetail reviewDetail
     */
    void updateReviewDetail(ReviewDetail reviewDetail);

    /**
     * 删除
     *
     * @param ids ids
     */
    void deleteReviewDetails(String[] ids);
}
